/**
 *  \file   flash_allocation.h
 *  \author Miora ANDRIAMANOHARISOA, Loic MINGHETTI
 *  \date   PFE 2011
 *  \desc	Read and write to flash memory
 **/

void flash_save_config();

// common variables stored in memory 
extern unsigned int node_id;
extern signed int sensor_offset;
extern unsigned int sensor_data_counter;
extern uint8_t node_hop_count;

void flash_allocation_init(void);
